package com.team.employment.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 公司法定人关联表
 * @TableName company_statutory
 */

@Schema(description = "公司&法定人关联表")
@TableName(value ="company_statutory")
@Data
public class CompanyStatutory extends BaseEntity{

    private static final long serialVersionUID = 1L;
    /**
     * 公司id
     */
    @Schema(description = "公司id")
    @TableField(value = "company_id")
    private Long companyId;

    /**
     * 法定人id
     */
    @Schema(description = "法定人id")
    @TableField(value = "statutory_id")
    private Long statutoryId;


}